<?php

/**
 * user components.
 *
 * @package    blogallery
 * @subpackage user
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 9301 2008-05-27 01:08:46Z dwhittle $
 */
class userComponents extends sfComponents
{
  public function executeFeatured()
  {
  	$c = UserPeer::getPublicUserCriteria();
  	$c->addDescendingOrderByColumn(UserPeer::ID);
  	$c->setLimit('3');
  	
  	$this->users = UserPeer::doSelect($c);
  }
}
